const host = 'http://www.mingzhengkeji.com'              // 项目中接口地址host (项目线上端口)
export const WEBSOCKET = 'ws://47.92.235.222:32321';   // websocket连接地址


// http://kaoshi.niurenjianzhan.com/admin.php/admin/login/signin.html
// 本地临时端口号
// const host = 'http://192.168.10.211:8001'              // 项目中接口地址host 沛东
// const host = 'http://192.168.10.164:8880'              // 项目中接口地址host 广盛
// const host = 'http://192.168.10.176:9999'                 // 项目中接口地址host
// const host = 'http://192.168.10.172:8888'   // 陈辉

export const IS_DEV = 1                              // 是否是开发环境 1 是 0 否
export const PAGE_SIZE = 15                          // 分页配置 每页条数

export const BASE_URL = `${host}`                 // 基础路径
export const API_BASE_URL = `${host}/api`            // 接口请求基础路径
export const UPLOAD_IMAGE_URL = `${host}/api/v1/5d5fa8984f0c2` // 图片上传接口路径 UploadImage方法依赖此配置
export const IMG_BASE_URL = `${host}/upload/`        // 图片基础路径 公共filters assembleImgSrc依赖此配置
// #ifdef APP-PLUS || H5
export const LOGIN_PAGE_URL = '/pages/user/login/login-code'// 登录页面路由 request.js 依赖此配置 主要用于登录失效跳转
// #endif
// #ifdef MP-WEIXIN
export const LOGIN_PAGE_URL = '/pages/user/login/auth-login'// 登录页面路由 request.js 依赖此配置 主要用于登录失效跳转
// #endif
export const SYSTEM_CONFIG = {                                                            // 系统配置
  logo: '/static/home/logo.png',
  appName: '测试项目4',
}

export const needLoginPages = ["/pages/user/address/address-list", "/pages/user/address/address-add",
    "/pages/index/setting/change-pay-password", "/pages/index/setting/reset-pay-password",
    "/pages/index/setting/change-password", "/pages/service-mssage/message/message-list", "/pages/user/user/info",
    "/pages/user/user/avatar-cropping", "/pages/index/setting/feedback", "/pages/index/setting/my-feedback",
    "/pages/index/setting/verify-oldphone", "/pages/index/setting/change-newphone", "/pages/user/wallet/my-wallet",
    "/pages/user/wallet/consumer-detail", "/pages/user/wallet/recharge", "/pages/user/wallet/recharge-log",
    "/pages/user/wallet/withdraw", "/pages/user/wallet/withdraw-success", "/pages/user/wallet/account-bind",
    "/pages/user/wallet/alipay-bind", "/pages/user/wallet/wechat-bind", "/pages/user/user/my-favorites",
    "/pages/user/user/my-footprint", "/pages/order/afterorder/afterorder-apply",
    "/pages/order/afterorder/afterorder-status-list", "/pages/order/afterorder/afterorder-detail",
    "/pages/order/afterorder/afterorder-sendback", "/pages/order/order-process/confirm-order",
    "/pages/order/order-process/pay-order", "/pages/order/order-process/pay-success",
    "/pages/order/order-process/choos_coupon", "/pages/order/order-list/all-order",
    "/pages/order/orderdetail/order-detail", "/pages/order/orderdetail/express-delivery",
    "/pages/order/evaluation/order-evaluation","/pages/news/article/article-favoriters"
]
